angular.module("myApp")
.controller("DestinationCityStrategyController", ["$scope", "DestinationCityStrategyService", function($scope, DestinationCityStrategyService){
	DestinationCityStrategyService.getData().success(function(data){
		$scope.items = data.data;
		$scope.a = document.getElementsByClassName("destinationCity_topbar_border")[0];
		$scope.witch = function(e){
			if($scope.a != null){
				$scope.a.className = "destinationCity_topbar_memu";
			}
			e.target.setAttribute("class", "destinationCity_topbar_border");
			$scope.a = e.target;
		}
		$scope.gone = function(){
			history.back(-1);
		}
	})
}])



